<form action="" id="myform">
<div id="inline5">
<h2><span>详细信息</span></h2>
<table>
        <tr><th colspan="5">回款记录：</th></tr>
        <tr>
            <td class="name" width="100"><span>*</span>客户：</td>
            <td>&nbsp;</td>
            <td id="customer_name">
			  <?= $payment_record->customer_name?>
            </td>
        </tr>
        <tr>
        	<td class="name" width="100">合同/订单：</td>
            <td>&nbsp;</td>
            <td>
				<?= $payment_record->contract_subject?>
            </td>
        </tr>
        <tr>
            <td class="name" width="100">期次：</td>
            <td>&nbsp;</td>
            <td>
				<?= $payment_record->stages?>
            </td>
        </tr>
        <tr>
            <td class="name" width="100">日期：</td>
            <td>&nbsp;</td>
            <td>
				<?php $payment_time = substr ( $payment_record->payment_time, 0, 10 );?>
				<?= $payment_time?>
            </td>
        </tr>

        <tr>
            <td class="name" width="100">金额：</td>
            <td>&nbsp;</td>
            <td>
				<?= $payment_record->money?>万元
            </td>
        </tr>
        <tr>
            <td class="name" width="100">以开发票：</td>
            <td>&nbsp;</td>
            <?php
               $bill='未开';
               if($payment_record->bill==1){
                 $bill='已开';
               }else{
               	$bill='无需开票';
               }?>
           <td><?= $bill?></td>
        </tr>
        <tr>
            <td class="name" width="100">付款方式：</td>
            <td>&nbsp;</td>
            <td>
				<?= $payment_record->payment_method?>
            </td>
        </tr>
        <tr>
            <td class="name" width="100">所有者：</td>
            <td>&nbsp;</td>
            <td>
				<?= $payment_record->user_name?>
            </td>
        </tr>
        <tr>
            <td class="name" width="100">备注：</td>
            <td>&nbsp;</td>
            <td>
				<?= $payment_record->remark?>
            </td>
        </tr>
        <tr><td colspan="3">&nbsp;</td></tr>
    </table>
</div>
</form>